﻿@model LabManagement.Data.Address

@{
    Layout = "";
}
<div class="box box-bordered ">
    <div class="box-title">        
            <i class="fa fa-th-list"></i>@Model.AddressFL         
    </div>
    <div class="box-content">
        <div class="form-group">
            @Html.LabelFor(model => model.AddressFL , new { @class = "control-label col-sm-2" })
            <div class="col-sm-10">
                @Html.TextBox("Contact.ContactAddresses[" + (int)ViewBag.No + "].Address.AddressFL", Model.AddressFL, new { @class = "form-control" })
                @Html.ValidationMessageFor(model => model.AddressFL)
            </div>
        </div>
        <div class="form-group">
            @Html.LabelFor(model => model.AddressSL, new { @class = "control-label col-sm-2" })
            <div class="col-sm-10">
                @Html.TextBox("Contact.ContactAddresses[" + (int)ViewBag.No + "].Address.AddressSL", Model.AddressSL, new { @class = "form-control" })
                @Html.ValidationMessageFor(model => model.AddressSL)
            </div>
        </div>
        <div class="form-group">
            @Html.LabelFor(model => model.Suite, new { @class = "control-label col-sm-2" })
            <div class="col-sm-10">
                @Html.TextBox("Contact.ContactAddresses[" + (int)ViewBag.No + "].Address.Suite", Model.Suite, new { @class = "form-control" })
                @Html.ValidationMessageFor(model => model.Suite)
            </div>
        </div>
        <div class="form-group">
            @Html.LabelFor(model => model.Zip, new { @class = "control-label col-sm-2" })
            <div class="col-sm-10">
                @Html.TextBox("Contact.ContactAddresses[" + (int)ViewBag.No + "].Address.Zip", Model.Zip, new { @class = "form-control" })
                @Html.ValidationMessageFor(model => model.Zip)
            </div>
        </div>
        <div class="form-group">
            @Html.LabelFor(model => model.State)
            <div class="col-sm-10">
                @Html.TextBox("Contact.ContactAddresses[" + (int)ViewBag.No + "].Address.State", Model.State, new { @class = "form-control" })
                @Html.ValidationMessageFor(model => model.State)
            </div>
        </div>
        <div class="form-group">
            @Html.LabelFor(model => model.Country)
            <div class="col-sm-10">
                @Html.TextBox("Contact.ContactAddresses[" + (int)ViewBag.No + "].Address.Country", Model.Country, new { @class = "form-control" })
                @Html.ValidationMessageFor(model => model.Country)
            </div>
        </div>
    </div>
</div>





